import { combineReducers } from 'redux'
import {connectRouter} from 'connected-react-router'
import test from './test'
import signup from './signup'
import productReducer from './product'
import searchReducer from './search'
import filterReducer from './filter'
import productInfoReducer from './productInfo'
const createRootReducer = (history) => combineReducers({
    test: test,
    router: connectRouter(history),
    signup:signup,
    product: productReducer,
    search: searchReducer,
    filter: filterReducer,
    productInfo: productInfoReducer
})
export default createRootReducer